<?php
  include('./connectbase.php');
  $phone = $_REQUEST['phone'];  
  // $password = $_REQUEST['password'];
  // $callback = $_REQUEST['callback']; 
  $sql = "select * from users where phone='$phone'";
  $res = $cont->query($sql);
  if($res->num_rows>0){
    echo '{"message":"你输入手机号正确","display":"none","flag":"false"}';
  }else{
    echo '{"message":"你输入的账号和密码有误","display":"block","flag":"true"}';
  }
?>